package com.weds.edpf.core.entity;

import com.weds.core.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import javax.validation.constraints.Digits;
import javax.validation.constraints.Size;

public class TtUserListEntity extends BaseEntity implements Serializable {
    /**
     *
     *
     * @mbg.generated Tue Jun 02 12:58:26 CST 2020
     */
    @Size(max = 16)
    @ApiModelProperty(required = true, dataType = "string", example = "test", value = "")
    private String bh;

    /**
     *
     *
     * @mbg.generated Tue Jun 02 12:58:26 CST 2020
     */
    @ApiModelProperty(required = true, dataType = "int", example = "-1", value = "")
    private Integer lx;

    /**
     *
     *
     * @mbg.generated Tue Jun 02 12:58:26 CST 2020
     */
    @Size(max = 100)
    @ApiModelProperty(required = true, dataType = "string", example = "test", value = "")
    private String itemLname;

    /**
     *
     *
     * @mbg.generated Tue Jun 02 12:58:26 CST 2020
     */
    @Size(max = 30)
    @ApiModelProperty(required = true, dataType = "string", example = "test", value = "")
    private String itemFields;

    /**
     *
     *
     * @mbg.generated Tue Jun 02 12:58:26 CST 2020
     */
    @ApiModelProperty(required = true, dataType = "int", example = "-1", value = "")
    private Integer itemLx;

    /**
     *
     *
     * @mbg.generated Tue Jun 02 12:58:26 CST 2020
     */
    @ApiModelProperty(required = true, dataType = "int", example = "-1", value = "")
    private Integer itemType;

    /**
     *
     *
     * @mbg.generated Tue Jun 02 12:58:26 CST 2020
     */
    @Size(max = 50)
    @ApiModelProperty(required = true, dataType = "string", example = "test", value = "")
    private String itemDbname;

    /**
     *
     * @mbg.generated Tue Jun 02 12:58:26 CST 2020
     */
    private static final long serialVersionUID = 1L;

    private String keys;

    /**
     * This method returns the value of the database column TT_USER_LIST.Bh
     *
     * @return the value of TT_USER_LIST.Bh
     *
     * @mbg.generated Tue Jun 02 12:58:26 CST 2020
     */
    public String getBh() {
        return bh;
    }

    /**
     *
     * @mbg.generated Tue Jun 02 12:58:26 CST 2020
     */
    public TtUserListEntity withBh(String bh) {
        this.setBh(bh);
        return this;
    }

    /**
     * This method sets the value of the database column TT_USER_LIST.Bh
     *
     * @param bh the value for TT_USER_LIST.Bh
     *
     * @mbg.generated Tue Jun 02 12:58:26 CST 2020
     */
    public void setBh(String bh) {
        this.bh = bh;
    }

    /**
     * This method returns the value of the database column TT_USER_LIST.Lx
     *
     * @return the value of TT_USER_LIST.Lx
     *
     * @mbg.generated Tue Jun 02 12:58:26 CST 2020
     */
    public Integer getLx() {
        return lx;
    }

    /**
     *
     * @mbg.generated Tue Jun 02 12:58:26 CST 2020
     */
    public TtUserListEntity withLx(Integer lx) {
        this.setLx(lx);
        return this;
    }

    /**
     * This method sets the value of the database column TT_USER_LIST.Lx
     *
     * @param lx the value for TT_USER_LIST.Lx
     *
     * @mbg.generated Tue Jun 02 12:58:26 CST 2020
     */
    public void setLx(Integer lx) {
        this.lx = lx;
    }

    /**
     * This method returns the value of the database column TT_USER_LIST.Item_lname
     *
     * @return the value of TT_USER_LIST.Item_lname
     *
     * @mbg.generated Tue Jun 02 12:58:26 CST 2020
     */
    public String getItemLname() {
        return itemLname;
    }

    /**
     *
     * @mbg.generated Tue Jun 02 12:58:26 CST 2020
     */
    public TtUserListEntity withItemLname(String itemLname) {
        this.setItemLname(itemLname);
        return this;
    }

    /**
     * This method sets the value of the database column TT_USER_LIST.Item_lname
     *
     * @param itemLname the value for TT_USER_LIST.Item_lname
     *
     * @mbg.generated Tue Jun 02 12:58:26 CST 2020
     */
    public void setItemLname(String itemLname) {
        this.itemLname = itemLname;
    }

    /**
     * This method returns the value of the database column TT_USER_LIST.Item_fields
     *
     * @return the value of TT_USER_LIST.Item_fields
     *
     * @mbg.generated Tue Jun 02 12:58:26 CST 2020
     */
    public String getItemFields() {
        return itemFields;
    }

    /**
     *
     * @mbg.generated Tue Jun 02 12:58:26 CST 2020
     */
    public TtUserListEntity withItemFields(String itemFields) {
        this.setItemFields(itemFields);
        return this;
    }

    /**
     * This method sets the value of the database column TT_USER_LIST.Item_fields
     *
     * @param itemFields the value for TT_USER_LIST.Item_fields
     *
     * @mbg.generated Tue Jun 02 12:58:26 CST 2020
     */
    public void setItemFields(String itemFields) {
        this.itemFields = itemFields;
    }

    /**
     * This method returns the value of the database column TT_USER_LIST.Item_lx
     *
     * @return the value of TT_USER_LIST.Item_lx
     *
     * @mbg.generated Tue Jun 02 12:58:26 CST 2020
     */
    public Integer getItemLx() {
        return itemLx;
    }

    /**
     *
     * @mbg.generated Tue Jun 02 12:58:26 CST 2020
     */
    public TtUserListEntity withItemLx(Integer itemLx) {
        this.setItemLx(itemLx);
        return this;
    }

    /**
     * This method sets the value of the database column TT_USER_LIST.Item_lx
     *
     * @param itemLx the value for TT_USER_LIST.Item_lx
     *
     * @mbg.generated Tue Jun 02 12:58:26 CST 2020
     */
    public void setItemLx(Integer itemLx) {
        this.itemLx = itemLx;
    }

    /**
     * This method returns the value of the database column TT_USER_LIST.Item_type
     *
     * @return the value of TT_USER_LIST.Item_type
     *
     * @mbg.generated Tue Jun 02 12:58:26 CST 2020
     */
    public Integer getItemType() {
        return itemType;
    }

    /**
     *
     * @mbg.generated Tue Jun 02 12:58:26 CST 2020
     */
    public TtUserListEntity withItemType(Integer itemType) {
        this.setItemType(itemType);
        return this;
    }

    /**
     * This method sets the value of the database column TT_USER_LIST.Item_type
     *
     * @param itemType the value for TT_USER_LIST.Item_type
     *
     * @mbg.generated Tue Jun 02 12:58:26 CST 2020
     */
    public void setItemType(Integer itemType) {
        this.itemType = itemType;
    }

    /**
     * This method returns the value of the database column TT_USER_LIST.Item_dbname
     *
     * @return the value of TT_USER_LIST.Item_dbname
     *
     * @mbg.generated Tue Jun 02 12:58:26 CST 2020
     */
    public String getItemDbname() {
        return itemDbname;
    }

    /**
     *
     * @mbg.generated Tue Jun 02 12:58:26 CST 2020
     */
    public TtUserListEntity withItemDbname(String itemDbname) {
        this.setItemDbname(itemDbname);
        return this;
    }

    /**
     * This method sets the value of the database column TT_USER_LIST.Item_dbname
     *
     * @param itemDbname the value for TT_USER_LIST.Item_dbname
     *
     * @mbg.generated Tue Jun 02 12:58:26 CST 2020
     */
    public void setItemDbname(String itemDbname) {
        this.itemDbname = itemDbname;
    }

    public String getKeys() {
        return keys;
    }

    public void setKeys(String keys) {
        this.keys = keys;
    }

    /**
     *
     * @mbg.generated Tue Jun 02 12:58:26 CST 2020
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", bh=").append(bh);
        sb.append(", lx=").append(lx);
        sb.append(", itemLname=").append(itemLname);
        sb.append(", itemFields=").append(itemFields);
        sb.append(", itemLx=").append(itemLx);
        sb.append(", itemType=").append(itemType);
        sb.append(", itemDbname=").append(itemDbname);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append(", keys=").append(keys);
        sb.append("]");
        return sb.toString();
    }

    /**
     *
     * @mbg.generated Tue Jun 02 12:58:26 CST 2020
     */
    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        TtUserListEntity other = (TtUserListEntity) that;
        return (this.getBh() == null ? other.getBh() == null : this.getBh().equals(other.getBh()))
            && (this.getLx() == null ? other.getLx() == null : this.getLx().equals(other.getLx()))
            && (this.getItemLname() == null ? other.getItemLname() == null : this.getItemLname().equals(other.getItemLname()))
            && (this.getItemFields() == null ? other.getItemFields() == null : this.getItemFields().equals(other.getItemFields()))
            && (this.getItemLx() == null ? other.getItemLx() == null : this.getItemLx().equals(other.getItemLx()))
            && (this.getItemType() == null ? other.getItemType() == null : this.getItemType().equals(other.getItemType()))
            && (this.getItemDbname() == null ? other.getItemDbname() == null : this.getItemDbname().equals(other.getItemDbname()));
    }

    /**
     *
     * @mbg.generated Tue Jun 02 12:58:26 CST 2020
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getBh() == null) ? 0 : getBh().hashCode());
        result = prime * result + ((getLx() == null) ? 0 : getLx().hashCode());
        result = prime * result + ((getItemLname() == null) ? 0 : getItemLname().hashCode());
        result = prime * result + ((getItemFields() == null) ? 0 : getItemFields().hashCode());
        result = prime * result + ((getItemLx() == null) ? 0 : getItemLx().hashCode());
        result = prime * result + ((getItemType() == null) ? 0 : getItemType().hashCode());
        result = prime * result + ((getItemDbname() == null) ? 0 : getItemDbname().hashCode());
        return result;
    }
}